// 课程模块
import request from '@/utils/request'

export const getCourse = params => {
  return request({
    method: 'GET',
    url: 'course/courseVisit',
    params
  })
}



// 课程购买量
export const getCourseBuy = params => {
  return request({
    method: 'GET',
    url: 'course/courseBuy',
    params
  })
}

// 学习频次分布
export const getFrequencyDistribution = params => {
  return request({
    method: 'GET',
    url: 'course/courseFrequencyDistribution',
    params
  })
}





